WT_DECLARE_WT_MEMBER(1,JavaScriptConstructor,"WTreeTable",function(g,a){jQuery.data(a,"obj",this);var h=this,i=g.WT,f=$(a).find(".Wt-content").get(0),j=$(a).find(".Wt-sbspacer").get(0);this.wtResize=function(b,d,c){d=c>=0;b.style.height=d?c+"px":"";var e=b.lastChild;c-=$(b.firstChild).outerHeight();if(d&&c>0){if(e.style.height!=c+"px")e.style.height=c+"px"}else e.style.height=""};this.autoJavaScript=function(){if(a.parentNode){j.style.display=f.scrollHeight>f.offsetHeight?"block":"none";var b=i.pxself(a,
"height");b&&h.wtResize(a,0,b,true)}}});
